package com.woniuxy01;

import java.math.BigInteger;

public class Test04 {
    public static void main(String[] args) {
        long i=Long.MAX_VALUE;
//        long j=Long.MIN_VALUE;
        System.out.println(i);
//        System.out.println(i+1);
//        System.out.println(i+2);
//        System.out.println(i+3);

        BigInteger i1 = new BigInteger(Long.MAX_VALUE+"");
        BigInteger i2 = new BigInteger("9223372036854775807");
        BigInteger i3 = new BigInteger("9223372036854775907");
        BigInteger i4 = new BigInteger("92233720368547759079999999999999999999");
        System.out.println(i1);
        System.out.println(i2);
        System.out.println(i3);
        System.out.println(i4);
        System.out.println(i3.add(i4));
        System.out.println(i3.subtract(i4));
        System.out.println(i3.multiply(i4));
        System.out.println(i4.divide(i3));
    }

}
